package com.qf.mapper;

import com.qf.domain.Questions;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QuestionsMapper {
    List<Questions> selectAll(Integer page, Integer size);

    int insertadd(Questions questions);

    int update(@Param("answerCount")Integer answerCount,@Param("id") Integer id);

    Questions selectid(@Param("id") Integer id);
}
